home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / openjdk-6-jre.prerm < prev    next >
Encoding:
Text File  |  2012-06-29  |  298 b   |  14 lines

  1. #!/bin/sh -e
  2.  
  3. basedir=/usr/lib/jvm/java-6-openjdk
  4. basediralias=/usr/lib/jvm/java-6-openjdk
  5. jre_tools='javaws pluginappletviewer policytool'
  6.  
  7. if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
  8.     for i in $jre_tools; do
  9.     update-alternatives --remove $i $basediralias/jre/bin/$i
  10.     done
  11. fi
  12.  
  13.  
  14.